package pyip.lib.javaweb;


public enum ResultStatusEnum {
	/** 成功 */
	success(1, ""),
	/** 失败 */
	failure(0, "system.ex.msg.prefix");
	
	/** 状态码 */
	private int code;
	
	/** 信息 */
	private String key;
	
	private ResultStatusEnum(int code, String key){
		this.code = code;
		this.key = key;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}
}
